<!--
 * @Author: sunboylu
 * @Date: 2022-02-09 00:02:53
 * @LastEditors: sunboylu
 * @LastEditTime: 2022-02-13 23:50:09
 * @Description: 
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>观众页面</title>
    <link rel="stylesheet" href="./assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="./assets/css/index.css">
</head>

<body>
    <div class="row-btn" style="margin:10px">
        <button id="startPlay" class="btn btn-primary btn-sm">开始拉流</button>
        <button id="changeRTC" class="btn btn-primary btn-sm" disabled="true">切换到RTC拉流</button>
        <button onclick="requestLianmai()" class="btn btn-primary btn-sm" disabled="true" id="lianmai">请求与主播连麦</button>
        <button onclick="stopLianmai()" id="stop-lianmai" disabled="true" class="btn btn-primary btn-sm">结束连麦</button>
        <button onclick="logoutRoom()" class="btn btn-primary btn-sm">退出房间</button>
        <!-- <button onclick="playMixStream()" class="btn btn-primary btn-sm">播放混流</button> -->
    </div>
    <div class="row-remote" id="row-remote" style="padding:10px">
        <p>远端主播：</p>
        <div class="user-div" style="padding:10px"></div>
    </div>
    <div class="row-local" id="row-local" style="padding: 10px">
        <p>我自己：</p>
    </div>
    <div class="remoteVideo" style="padding: 10px"></div>
</body>

</html>
<script src="./assets/js/jquery-3.3.1.min.js"></script>
<!-- <script src="./assets/js/jZego-rtc-1.12.2.js"></script> -->
<script src="./assets/js/jZego-rtc-2.7.0.js"></script>
<script src="./assets/js/flv.min.js"></script>
<script src="./assets/js/audience.js"></script>